package fina2.dcs.returns;

import java.math.BigDecimal;
import java.util.List;

import javax.ejb.Local;

@Local
public interface ReturnVersionLocal {
	public void init();

	public String addReturnVersion();
	
	public String updateReturnVersion();
	
	public String removeReturnVersion();
	
	public ReturnVersion findByCode(String code);
	
	public BigDecimal getMaxId();
	
	public BigDecimal getMaxSequenceId();
	
	public void remove();
	
	public List<ReturnVersion> getReturnVersions();

	public void setReturnVersions(List<ReturnVersion> returnVersions);

	public ReturnVersion getRetVersion();

	public void setRetVersion(ReturnVersion retVersion);
	
	public String getCode();

	public void setCode(String code);
	
	public ReturnVersion getSelectedRetVersion();

	public void setSelectedRetVersion(ReturnVersion selectedRetVersion);

	public boolean isSuccess();

	public void setSuccess(boolean success);
	
	public String getSelectedDesc();

	public void setSelectedDesc(String selectedDesc);
}
